package com.jiedeng.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Date;

/**
 * @author 覃远龙
 * @ClassName: UserGps
 * @Description:
 * @date 2017/10/18 16:58
 */
@Entity(name = "t_userGps")
public class UserGps {

    @Id
    @Column(length = 100)
    private String id;

    @Column
    private String XGPS;

    @Column
    private String YGPS;

    @Column(name = "Userid")
    private long userid;

    @Column
    private Date time;

    @Column(name = "UpTime")
    private Date upTime;

    @Column(name = "Gps")
    private String gps;

    @Column(name = "type")
    private int type;

    @Column(name = "dianliang")
    private String dianliang;

    @Column
    private String address;

    @Column
    private boolean isWifi;

    @Column(name = "openGps")
    private boolean openGps;

    @Column
    private String remark;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getXGPS() {
        return XGPS;
    }

    public void setXGPS(String XGPS) {
        this.XGPS = XGPS;
    }

    public String getYGPS() {
        return YGPS;
    }

    public void setYGPS(String YGPS) {
        this.YGPS = YGPS;
    }

    public long getUserid() {
        return userid;
    }

    public void setUserid(long userid) {
        this.userid = userid;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public Date getUpTime() {
        return upTime;
    }

    public void setUpTime(Date upTime) {
        this.upTime = upTime;
    }

    public String getGps() {
        return gps;
    }

    public void setOpenGps(String openGps) {
        this.gps = openGps;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getDianliang() {
        return dianliang;
    }

    public void setDianliang(String dianliang) {
        this.dianliang = dianliang;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public boolean isWifi() {
        return isWifi;
    }

    public void setWifi(boolean wifi) {
        isWifi = wifi;
    }

    public boolean isOpenGps() {
        return openGps;
    }

    public void setGps(boolean gps) {
        openGps = gps;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
